<template>
	<view>
		<view
			v-if="showEnd"
			class="has-no-data flex">
			<view class="has-no-data-line" />
			<view>
				没有更多数据了
			</view>
			<view class="has-no-data-line" />
		</view>
		<view
			v-else
			class="has-no-data flex">
			<view class="has-no-data-line" />
			<view>
				<uni-load-more iconType="snow" :status="'loading'" />
			</view>
			<view class="has-no-data-line" />
		</view>
	</view>
</template>

<script>
	export default {
		components: {
		},
		props: {
			showEnd: {
				type: Boolean,
				default: () => false
			},
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style>
	
	/**
	 * 没有更多数据了 字体样式
	 */
	.has-no-data{
		font-size:24rpx;
		font-family:PingFang-SC-Medium,PingFang-SC;
		font-weight:500;
		color:rgba(204,204,204,1);
		padding-bottom: 50rpx;
	}
	
	.has-no-data-line{
		margin: 0rpx 20rpx;
		width:120rpx;
		height:1rpx;
		background:rgba(204,204,204,1);
		border-radius:3rpx;
	}

</style>
